package cn.jksoft.businessclient.bean;

import com.yokeyword.indexablelistview.IndexEntity;
import com.yokeyword.indexablelistview.IndexHeaderEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by RogersHuang on 16/4/8.
 */
public class CustomerEntity{

    /**
     * result : 查询成功
     * storeCustomerList : [{"CUSTOMER_ID":1426598296147,"STORE_CUSTOMER_ID":10486,"CUSTOMER_NAME":"#散客","CAR_PLATE_NUM":"粤A 2233453","MEMBER_TYPE_NAME":"非员会","TENANT_ID":10000,"CUST_CM_ID":10620},{"CUSTOMER_ID":1426598296146,"STORE_CUSTOMER_ID":10485,"CUSTOMER_NAME":"哈哈我来测试的","CAR_PLATE_NUM":"吉D 123","MEMBER_TYPE_NAME":"非员会","TENANT_ID":10000,"CUST_CM_ID":10619}]
     * is_successful : 1
     */

    private String result;
    private String is_successful;
    /**
     * CUSTOMER_ID : 1426598296147
     * STORE_CUSTOMER_ID : 10486
     * CUSTOMER_NAME : #散客
     * CAR_PLATE_NUM : 粤A 2233453
     * MEMBER_TYPE_NAME : 非员会
     * TENANT_ID : 10000
     * CUST_CM_ID : 10620
     */

    private List<StoreCustomerListBean> storeCustomerList;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getIs_successful() {
        return is_successful;
    }

    public void setIs_successful(String is_successful) {
        this.is_successful = is_successful;
    }

    public List<StoreCustomerListBean> getStoreCustomerList() {
        return storeCustomerList;
    }

    public void setStoreCustomerList(List<StoreCustomerListBean> storeCustomerList) {
        this.storeCustomerList = storeCustomerList;
    }

    public static class StoreCustomerListBean extends IndexEntity implements Serializable{
        private long CUSTOMER_ID;
        private long STORE_CUSTOMER_ID;
        private String CUSTOMER_NAME;
        private String CAR_PLATE_NUM;
        private String MEMBER_TYPE_NAME;
        private long TENANT_ID;
        private long CUST_CM_ID;

        public long getCUSTOMER_ID() {
            return CUSTOMER_ID;
        }

        public void setCUSTOMER_ID(long CUSTOMER_ID) {
            this.CUSTOMER_ID = CUSTOMER_ID;
        }

        public long getSTORE_CUSTOMER_ID() {
            return STORE_CUSTOMER_ID;
        }

        public void setSTORE_CUSTOMER_ID(long STORE_CUSTOMER_ID) {
            this.STORE_CUSTOMER_ID = STORE_CUSTOMER_ID;
        }

        public String getCUSTOMER_NAME() {
            return CUSTOMER_NAME;
        }

        public void setCUSTOMER_NAME(String CUSTOMER_NAME) {
            setName(CUSTOMER_NAME);
            this.CUSTOMER_NAME = CUSTOMER_NAME;
        }

        public String getCAR_PLATE_NUM() {
            return CAR_PLATE_NUM;
        }

        public void setCAR_PLATE_NUM(String CAR_PLATE_NUM) {
            this.CAR_PLATE_NUM = CAR_PLATE_NUM;
        }

        public String getMEMBER_TYPE_NAME() {
            return MEMBER_TYPE_NAME;
        }

        public void setMEMBER_TYPE_NAME(String MEMBER_TYPE_NAME) {
            this.MEMBER_TYPE_NAME = MEMBER_TYPE_NAME;
        }

        public long getTENANT_ID() {
            return TENANT_ID;
        }

        public void setTENANT_ID(long TENANT_ID) {
            this.TENANT_ID = TENANT_ID;
        }

        public long getCUST_CM_ID() {
            return CUST_CM_ID;
        }

        public void setCUST_CM_ID(long CUST_CM_ID) {
            this.CUST_CM_ID = CUST_CM_ID;
        }
    }
}
